package com.tony.blog.model.entity;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 *
 * @Title: CollectEntity
 * @Auther: 皮蛋布丁
 * @Date: 2021/08/16/20:16
 * @Description: 收藏表
 */
@Data
@NoArgsConstructor
public class CollectEntity implements Serializable {

    private Integer id;

    private Integer blogId;

    private Integer userId;

    private Date collectTime;

    private Integer status;

    private Date createTime;

    private Date updateTime;

    public CollectEntity(Integer blogId, Integer userId, Date collectTime, Integer status) {
        this.blogId = blogId;
        this.userId = userId;
        this.collectTime = collectTime;
        this.status = status;
    }
}
